package com.example.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("订单详情")
/**
 * 插入订单传入参数
 */
public class SOrderDTO {

    @ApiModelProperty("商品spu_id")
    private Long spuId;
    @ApiModelProperty("商品名称")
    private String spuName;
    @ApiModelProperty("用户user_id")
    private Long userId;
    @ApiModelProperty("商品描述")
    private String detail;
    @ApiModelProperty("商品图片")
    private Integer count;
    @ApiModelProperty("商品标价")
    private BigDecimal price;
    @ApiModelProperty("商品销售价")
    private BigDecimal salePrice;
    @ApiModelProperty("商品总标价")
    private BigDecimal totalPrice;
    @ApiModelProperty("商品总销售价")
    private BigDecimal payPrice;
    @ApiModelProperty("支付方式")
    private String payMethod;
    @ApiModelProperty("联系人")
    private String linkUser;
    @ApiModelProperty("联系电话")
    private String linkPhone;
    @ApiModelProperty("联系地址")
    private String linkAddress;

}
